/**
 * teacher
 */
package com.thinkgem.jeesite.zmis.teacher.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.zmis.teacher.entity.ZmisTeacher;
import com.thinkgem.jeesite.zmis.teacher.dao.ZmisTeacherDao;

/**
 * 教师Service
 * @author ll
 * @version 2017-10-11
 */
@Service
@Transactional(readOnly = true)
public class ZmisTeacherService extends CrudService<ZmisTeacherDao, ZmisTeacher> {

	public ZmisTeacher get(String id) {
		return super.get(id);
	}
	
	public List<ZmisTeacher> findList(ZmisTeacher zmisTeacher) {
		return super.findList(zmisTeacher);
	}
	
	public Page<ZmisTeacher> findPage(Page<ZmisTeacher> page, ZmisTeacher zmisTeacher) {
		return super.findPage(page, zmisTeacher);
	}
	
	@Transactional(readOnly = false)
	public void save(ZmisTeacher zmisTeacher) {
		super.save(zmisTeacher);
	}
	
	@Transactional(readOnly = false)
	public void delete(ZmisTeacher zmisTeacher) {
		super.delete(zmisTeacher);
	}
	
}